package com.bite.ojcommoncore.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableField(fill = FieldFill.INSERT)
    private Long createBy ;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime ;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy ;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime ;



}
